// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

#include "SQLNullConstraint.h"
#include "../../visitor/SQLASTVisitor.h"

SQLNullConstraint::SQLNullConstraint()
{
}

// @Override
void SQLNullConstraint::accept0(SQLASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(SQLNullConstraint));
  visitor->endVisit(SharedObject(SQLNullConstraint));
}

SQLObject_ptr SQLNullConstraint::clone()
{
  SQLObject_ptr clone_tmp = SQLNullConstraint_ptr(new SQLNullConstraint());
  SQLNullConstraint_ptr x = std::dynamic_pointer_cast<SQLNullConstraint>(clone_tmp);
  // SQLNullConstraint x = new SQLNullConstraint();
  SQLConstraintImpl::cloneTo(std::dynamic_pointer_cast<SQLConstraintImpl>(x));
  return x;
}
